A pull-down
menu can contain up to 999 commands. A shortcut menu can contain
up to 499 commands. The command limit includes all menus in a hierarchy.
If commands in the menu file exceed these limits (which is unlikely),
the program ignores the extra commands. If a pull-down or shortcut
menu is longer than the available display space, it is truncated
to fit. When a pull-down or shortcut menu is truncated, two arrows
are added to the menu; one is added at the top and another to the
bottom. With the arrows, you can scroll the list of menu items up
or down. The following table shows the properties for the File menu
as they appear in the Properties pane. The properties for a pull-down
menu and shortcut menu are identical.
Properties for the File menu
|
Properties pane item
|
Description
|
Example
|
Name
|
String used as the caption of the menu on the
menu bar.
|
&File
|
Description
|
Text used to describe the element; does not
appear in the user interface.
|
|
Aliases
|
Specifies the aliases for the menu. Click the
[…] button to open the
Aliases dialog box. Each alias in the CUIx file should be unique;
and it is used to reference the menu programmatically.
|
POP1, FILE
|
Element ID
|
Tag that uniquely identifies a menu.
|
ID_MnFile
|
NoteWhen you create a
pull-down or shortcut menu, you must also add at least one command
to the menu. Otherwise, the menu will not be displayed on the menu
bar.
CommandsCUI
Manages the customized
user interface elements in the product.
System VariablesMENUBAR
Controls
the display of the menu bar.